package com.pikaqiu.warehouse.exception;

import lombok.Getter;

/**
 * @Author: pikaqiu
 * @Date: 2022/10/6
 */
@Getter
public class MiniCompanyAuthException extends RuntimeException {

    /**
     * 错误提示
     */
    private String message;

    /**
     * 错误明细，内部调试错误
     */
    private String detailMessage;

    /**
     * 空构造方法，避免反序列化问题
     */
    public MiniCompanyAuthException() {
    }

    public MiniCompanyAuthException(String message) {
        this.message = message;
    }

}
